#include "gtest/gtest.h"
#include <libraries/sockets/TCPSocketClient.h>

namespace {

// The fixture for testing class Foo.
class TCPSocketClientTest : public ::testing::Test {
 protected:
  // You can remove any or all of the following functions if its body
  // is empty.
//    TCPSocketClient c_socket_null, c_socket_localhost;

  TCPSocketClientTest() {
    // You can do set-up work for each test here.
  }

  virtual ~TCPSocketClientTest() {
    // You can do clean-up work that doesn't throw exceptions here.
  }

  // If the constructor and destructor are not enough for setting up
  // and cleaning up each test, you can define the following methods:

  virtual void SetUp() {
    // Code here will be called immediately after the constructor (right
    // before each test).
  }

  virtual void TearDown() {
    // Code here will be called immediately after each test (right
    // before the destructor).
  }

  // Objects declared here can be used by all tests in the test case for Foo.
};


// Tests that the Foo::Bar() method does Abc.
//TEST_F(TCPSocketClientTest, Nullatbeginning) {
////    TCPSocket client = TCPSocketClient::create("localhost",55555);
////  client.
////  EXPECT_EQ(0, f.Bar(input_filepath, output_filepath));
//}


TEST_F(TCPSocketClientTest, ThrowAtBeginning) {
    EXPECT_ANY_THROW(TCPSocketClient::create("localhost",55555);
    );
}



// Tests that Foo does Xyz.
//TEST_F(TCPSocketClientTest, DoesXyz) {
//  // Exercises the Xyz feature of Foo.
//}


} // namespace

//int main(int argc, char **argv) {
//  ::testing::InitGoogleTest(&argc, argv);
//  return RUN_ALL_TESTS();
//}
